Text Replace

Command Prototype

bRet = Word.Replace(objWord,sFind,sReplace,optionArgs)

Command Description

Replace a specific string in a Word document

Parameter Description
Required Parameter
objWord--Word document object
sFind--The string to match
sReplace--The string to replace
Optional Parameter
matchCase--Whether to be case sensitive, the default is case insensitive
matchWholeWord --Whether to match whole word, the default is not to match whole word
matchWildcards--Whether to support wildcard, the default is not to support wildcard
forward--Whether to find down/forward, the default is to find down/forward
wrap--The method for loop matching after a matching operation is finished
replaceType--The method for replacing content
return
bRet--The variable used to save the output of the function call

results matching ""

    No results matching ""